<template>
	<div class="padding search-light">
		<lay-json-schema-form :model="formData" :schema="schema"></lay-json-schema-form>
		<div class="margin-top-xl flex justify-center align-center">
			<el-button class="padding-lr-xl text-blue3 solid-blue" size="large" @click="closePopupFun">返回</el-button>
			<div class="margin-left-xxl">
				<el-button type="primary" class="btn-bg-blue btn-box padding-lr-xl" size="large">保存</el-button>
			</div>
		</div>
	</div>
</template>

<script setup>
	import { ref } from 'vue';
	const emit = defineEmits(['closePopup']);
	
	//关闭弹出
	const closePopupFun = ()=>{
		emit('closePopup')
	}
	//表单数据
	const formData = ref({
		CardTypeCode: '', //
		CardTypeName: '', //
	});
	
	//表单配置
	const schema = ref({
		CardTypeCode: {
			label: '计划号：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入计划号',
			},
			colProps: {
				md: 12,
			},
		},
		CardTypeName: {
			label: '制作命令号：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入制作命令号',
			},
			colProps: {
				md: 12,
			},
		},
		CardTypeName3: {
			label: '熔炼号：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入熔炼号',
			},
			colProps: {
				md: 12,
			},
		},
		CardTypeName4: {
			label: '浇次 ID 号：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入浇次 ID 号',
			},
			colProps: {
				md: 12,
			},
		},
		CardTypeName5: {
			label: '浇次内序号：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '浇次内序号',
			},
			colProps: {
				md: 12,
			},
		},

		adTypeCode: {
			label: '总数量：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入总数量',
			},
			colProps: {
				md: 12,
			},
		},
		adTypeName: {
			label: '计划钢种：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入计划钢种',
			},
			colProps: {
				md: 12,
			},
		},
		adTypeName3: {
			label: '转炉 ID 号：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入转炉 ID 号',
			},
			colProps: {
				md: 12,
			},
		},
		adTypeName4: {
			label: '冶金路径：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入冶金路径',
			},
			colProps: {
				md: 12,
			},
		},
		adTypeName5: {
			label: '计划更新时刻：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入计划更新时刻',
			},
			colProps: {
				md: 12,
			},
		},

		bdTypeCode: {
			label: '计划到台时刻：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入计划到台时刻',
			},
			colProps: {
				md: 12,
			},
		},
		bdTypeName: {
			label: '计划上台时间：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入计划上台时间',
			},
			colProps: {
				md: 12,
			},
		},
		bdTypeName3: {
			label: '计划离台时间：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入计划离台时间',
			},
			colProps: {
				md: 12,
			},
		},
		bdTypeName4: {
			label: '计划到台重量：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入计划到台重量',
			},
			colProps: {
				md: 12,
			},
		},
		bdTypeName5: {
			label: '计划离台重量：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入计划离台重量',
			},
			colProps: {
				md: 12,
			},
		},

		cTypeCode: {
			label: '铸坯数量：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入铸坯数量',
			},
			colProps: {
				md: 12,
			},
		},
		cTypeName: {
			label: '出坯重量：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入出坯重量',
			},
			colProps: {
				md: 12,
			},
		},
		cTypeName3: {
			label: '罐 ID 号：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入罐 ID 号',
			},
			colProps: {
				md: 12,
			},
		},
		cTypeName4: {
			label: '罐重量：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入罐重量',
			},
			colProps: {
				md: 12,
			},
		},
		cTypeName5: {
			label: '记录人：',
			type: 'input',
			props: {
				type: 'text',
				placeholder: '请输入记录人',
			},
			colProps: {
				md: 12,
			},
		}
	});

	
</script>

<style lang="scss" scoped>
	
</style>